Kameleon-Plus  0.3.2
BATSRUS.h
Go to the documentation of this file.
1 /*
2  * OpenGGCM.h
3  *
4  * Created on: Jun 2, 2009
5  * Author: David Berrios
6  */
7 
8 #ifndef BATSRUS_H_
9 #define BATSRUS_H_
10 #include <string>
11 #include "Cell3D.h"
12 #include "Model.h"
13 #include "Constants.h"
14 #include <vector>
15 
16 namespace ccmc
17 {
24  class BATSRUS: public Model
25  {
26 
27  public:
28  BATSRUS();
29  long open(const std::string& filename);
30 
32  const std::vector<std::string> getLoadedVariables();
33  virtual ~BATSRUS();
34 
35  template<typename T>
36  friend int binary_search(const std::vector<T>& vec, unsigned int start, unsigned int end, const T& key);
37 
38  protected:
40  void initializeSIUnits();
41 
42  };
43 }
44 
45 #endif /* BATSRUS_H_ */